package com.example.shiyan2;

import android.os.Bundle;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

public class Activity5 extends AppCompatActivity {
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_5);
        Button backButton = findViewById(R.id.returnButton5);
        backButton.setOnClickListener(v -> {
            // 返回上一个Activity
            finish();
        });
    }
}